package com.muyu.system.service;

import java.util.List;
import com.muyu.system.domain.DanmoShoppingOrderCartDetails;

/**
 * 购物车订单Service接口
 * 
 * @author kunzong
 * @date 2024-12-13
 */
public interface IDanmoShoppingOrderCartDetailsService 
{
    /**
     * 查询购物车订单
     * 
     * @param id 购物车订单主键
     * @return 购物车订单
     */
    public DanmoShoppingOrderCartDetails selectDanmoShoppingOrderCartDetailsById(Long id);

    /**
     * 查询购物车订单列表
     * 
     * @param danmoShoppingOrderCartDetails 购物车订单
     * @return 购物车订单集合
     */
    public List<DanmoShoppingOrderCartDetails> selectDanmoShoppingOrderCartDetailsList(DanmoShoppingOrderCartDetails danmoShoppingOrderCartDetails);

    /**
     * 新增购物车订单
     * 
     * @param danmoShoppingOrderCartDetails 购物车订单
     * @return 结果
     */
    public int insertDanmoShoppingOrderCartDetails(DanmoShoppingOrderCartDetails danmoShoppingOrderCartDetails);

    /**
     * 修改购物车订单
     * 
     * @param danmoShoppingOrderCartDetails 购物车订单
     * @return 结果
     */
    public int updateDanmoShoppingOrderCartDetails(DanmoShoppingOrderCartDetails danmoShoppingOrderCartDetails);

    /**
     * 批量删除购物车订单
     * 
     * @param ids 需要删除的购物车订单主键集合
     * @return 结果
     */
    public int deleteDanmoShoppingOrderCartDetailsByIds(Long[] ids);

    /**
     * 删除购物车订单信息
     * 
     * @param id 购物车订单主键
     * @return 结果
     */
    public int deleteDanmoShoppingOrderCartDetailsById(Long id);
}
